package com.xhorse.lockplatform.model;

import com.xhorse.lockplatform.comm.model.BaseId;

import java.util.Date;

public class XhImage extends BaseId{

	private Integer imgId;

	private Integer typeId;

	private String md5Img;

	private String version;

	private Date createAt;

	private Date updateAt;

	private String imgUrl;

	public String getMd5Img() {
		return md5Img;
	}

	public void setMd5Img(String md5Img) {
		this.md5Img = md5Img == null ? null : md5Img.trim();
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version == null ? null : version.trim();
	}

	public Date getCreateAt() {
		return createAt;
	}

	public void setCreateAt(Date createAt) {
		this.createAt = createAt;
	}

	public Date getUpdateAt() {
		return updateAt;
	}

	public void setUpdateAt(Date updateAt) {
		this.updateAt = updateAt;
	}

	public Integer getImgId() {
		return imgId;
	}

	public void setImgId(Integer imgId) {
		this.imgId = imgId;
	}

	public Integer getTypeId() {
		return typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	@Override
	public String toString() {
		return "XhImage [imgId=" + imgId + ", typeId=" + typeId + ", md5Img="
				+ md5Img + ", version=" + version + ", createAt=" + createAt
				+ ", updateAt=" + updateAt + ", imgUrl=" + imgUrl + "]";
	}

}